package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class Product {
    private Integer productId;//主键商品id
    private Integer productCode;//商品编号
    private Integer categroyId;//商品分类
    private Integer recommend;//商品推荐
    private Integer discount;//优惠券
    private Integer ensure;//服务保证
    private String productName;//商品名称
    private String searchKeywords;//搜索商品关键字
    private String mainImage;//商品主图
    private Integer currentpriceProduct;//商品现价
    private Integer originalpriceProduct;//商品原价
    private String productDescription;//商品描述
    private Integer hits;//商品的点击量
    private Integer productSate;//商品状态
    private String createId;//创建人
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String createDate;//创建时间
    private String updateId;//更新人
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String updateDate;//更新时间
    private String title;//分类
    private String result;//状态

    private String userAccount;//用户账号
    private String recordResult;//审核结果
    private String categoryTitle;//分类名称
    private Integer type;//商品类型
    private String productLabel;//商品标签

    private Integer productSales;//商品销量
    private Integer productCollectionCount;//商品收藏量

    private String createName;//创建人名称

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductCode() {
        return productCode;
    }

    public void setProductCode(Integer productCode) {
        this.productCode = productCode;
    }

    public Integer getCategroyId() {
        return categroyId;
    }

    public void setCategroyId(Integer categroyId) {
        this.categroyId = categroyId;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Integer getEnsure() {
        return ensure;
    }

    public void setEnsure(Integer ensure) {
        this.ensure = ensure;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSearchKeywords() {
        return searchKeywords;
    }

    public void setSearchKeywords(String searchKeywords) {
        this.searchKeywords = searchKeywords;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public Integer getCurrentpriceProduct() {
        return currentpriceProduct;
    }

    public void setCurrentpriceProduct(Integer currentpriceProduct) {
        this.currentpriceProduct = currentpriceProduct;
    }

    public Integer getOriginalpriceProduct() {
        return originalpriceProduct;
    }

    public void setOriginalpriceProduct(Integer originalpriceProduct) {
        this.originalpriceProduct = originalpriceProduct;
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getProductSate() {
        return productSate;
    }

    public void setProductSate(Integer productSate) {
        this.productSate = productSate;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getRecordResult() {
        return recordResult;
    }

    public void setRecordResult(String recordResult) {
        this.recordResult = recordResult;
    }

    public String getCategoryTitle() {
        return categoryTitle;
    }

    public void setCategoryTitle(String categoryTitle) {
        this.categoryTitle = categoryTitle;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getProductLabel() {
        return productLabel;
    }

    public void setProductLabel(String productLabel) {
        this.productLabel = productLabel;
    }

    public Integer getProductSales() {
        return productSales;
    }

    public void setProductSales(Integer productSales) {
        this.productSales = productSales;
    }

    public Integer getProductCollectionCount() {
        return productCollectionCount;
    }

    public void setProductCollectionCount(Integer productCollectionCount) {
        this.productCollectionCount = productCollectionCount;
    }
}

